<template>
 

</template>
 <script charset="utf-8" src="https://map.qq.com/api/gljs?v=1.exp&key=OB4BZ-D4W3U-B7VVO-4PJWW-6TKDJ-WPB77"></script>
<script>
 
			$(function() {
			    $("#search").autocomplete({//为文本框完成绑定
			        source: function(request,response){
						//使用自定义函数处理
					}
			    });
			});
	
import VolBox from '../../../components/basic/VolBox.vue';
export default {
  components: { VolBox },
  data() {


    
    return {
      model: {
        box2: true,
        box1: false,
      },
    };
  },
  methods: {
    open1() {
      this.model.box2 = true;
    },
    initMap() {
      var center = new TMap.LatLng(39.984104, 116.307503);
      //初始化地图
      var map = new TMap.Map("container", {
        rotation: 20, //设置地图旋转角度
        pitch: 30, //设置俯仰角度（0~45）
        zoom: 12, //设置地图缩放级别
        center: center, //设置地图中心点坐标
      });
    },
  },
  mounted() {
    this.initMap();
  },
};
</script>
